/**
 *  设备链接设置
 * @author xiaoxujs
 */

import { ISyhtConnectionSettingParams } from "../../type/ConfigManagement/DeviceLinkSettings/api";
import { basicIp, newHttpService } from "../http";

// 设备链接设置 - 查询
export const getSyhtSonnectionQuery = () => {
    const url = basicIp + '/syht/connection/query';
    return newHttpService.getData(url)
}
// 设备链接设置 - 设置
export const postSyhtConnectionSetting = (data: ISyhtConnectionSettingParams) => {
    const url = basicIp + '/syht/connection/setting';
    return newHttpService.postData(url, data)
}